package com.week.feign;

import com.week.entity.SysUser;
import com.week.entity.UserLogin;
import com.week.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
@FeignClient(value = "week-system",path = "/user")
public interface SysUserFeign {

    @PostMapping("/findOne/{tel}")
    public Result<SysUser> findOne(@PathVariable("tel") String tel);



}
